package com.prs.crm.domain.cqunicom;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.hr.Person;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2011-3-28 下午01:43:02 简单说明 商家提醒
 */
@Entity
@Table(name = "cq_BusinessRemind")
public class BusinessRemind extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 是否读取 1.未读取 2.已读取
	 */
	private String readYN;

	/**
	 * 登录商家
	 */
	@ManyToOne
	private Company companyRemind;

	/**
	 * 订单关联订单
	 */
	@ManyToOne
	private PoplarOrder remindOrder;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getReadYN() {
		return readYN;
	}

	public void setReadYN(String readYN) {
		this.readYN = readYN;
	}

	public Company getCompanyRemind() {
		return companyRemind;
	}

	public void setCompanyRemind(Company companyRemind) {
		this.companyRemind = companyRemind;
	}

	public PoplarOrder getRemindOrder() {
		return remindOrder;
	}

	public void setRemindOrder(PoplarOrder remindOrder) {
		this.remindOrder = remindOrder;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
